//
//  FishingEventView.h
//  WHTestDome
//
//  Created by Assistant on 9/22/25.
//

#import <UIKit/UIKit.h>
#import "FishingEvent.h"

NS_ASSUME_NONNULL_BEGIN

@protocol FishingEventViewDelegate <NSObject>
@optional
- (void)fishingEventViewDidTapRegister;
- (void)fishingEventViewDidTapContact;
- (void)fishingEventViewDidTapShare;
- (void)fishingEventViewDidTapViewAll;
@end

@interface FishingEventView : UIView

@property (nonatomic, weak) id<FishingEventViewDelegate> delegate;
@property (nonatomic, strong) UIScrollView *scrollView;
@property (nonatomic, strong) UIView *contentView;

- (instancetype)initWithFrame:(CGRect)frame;
- (void)updateWithEvent:(FishingEvent *)event;
- (void)updateCountdownText:(NSString *)countdownText;
- (void)updateRegistrationCount:(NSInteger)count;

@end

NS_ASSUME_NONNULL_END
